home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1-sources / sources / utility-src / ispell / ispell.1 < prev    next >
Encoding:
Text File  |  1993-12-04  |  2.9 KB  |  100 lines  |  [TEXT/EMAC]

  1. .TH ISPELL 1
  2. .SH NAME
  3. ispell \- Correct spelling for a file
  4. .SH SYNOPSIS
  5. .B ispell
  6. [ file ... ]
  7. .br
  8. .B ispell
  9. [
  10. .B \-l
  11. |
  12. .B \-D
  13. |
  14. .B \-E
  15. ]
  16. .br
  17. .B spell
  18. [ +local_file ] [ file ...]
  19. .SH DESCRIPTION
  20. .PP
  21. Ispell
  22. is a program that helps you to correct typos in a file, and to find
  23. the correct spelling of words.  When presented with a word that is not
  24. in the dictionary, ispell attempts to find near misses that might
  25. include the word you meant.
  26. .PP
  27. The best way to use ispell is with GNU EMACS.  For documentation about
  28. this mode, see the info topic "ispell".
  29. .PP
  30. Ispell can also be used by itself, and in this case
  31. the most common usage is "ispell filename".
  32. If ispell finds a word that is not in the dictionary, 
  33. it is printed at the top of the screen.  Ispell then checks the
  34. dictionary for near misses \- words that differ only by a single
  35. letter, a missing or extra letter, or a pair of transposed letters.
  36. Any that are found are printed on the following lines,
  37. and finally, two lines of context
  38. containing the word are printed at the bottom of the screen.  If your
  39. terminal can type in reverse video, the word itself is highlighted.
  40. .PP
  41. If you think the word is correct as it
  42. stands, you can type either "Space" to accept it this one time, "A" to
  43. accept it for the rest of this file, or "I" to accept it and put it in
  44. your private dictionary.  If one of the near misses is the word you
  45. want, type the corresponding number.  Finally,
  46. you can type "R" and you will be prompted for a
  47. replacement word.  The string you type will be broken into words, and
  48. each one will also be checked.  You can also type "?" for help.
  49. .PP
  50. If ispell is started with no arguments, it enters a loop reading words
  51. from the standard input, and printing messages about them on the
  52. standard output.  You can use this mode to find the spelling of a
  53. problem word.  For example:
  54. .PP
  55. You can print out the system dictionary.  Use -D if you want flags, or 
  56. -E if you want the words expanded.
  57. .sp 1
  58. .RS
  59. .nf
  60. % ispell
  61. word: independant
  62. how about: independent
  63. word: ^D
  64. .RE
  65. .fi
  66. .PP
  67. The
  68. .B \-l
  69. or "list" option to ispell is used to produce a list
  70. of misspelled words from the standard input.  This mode is
  71. compatible with the traditional spell program, except that the
  72. output is not sorted.
  73. .PP
  74. There are several other options provided so that other programs can
  75. use ispell.  See the documentation in the ispell source directory for
  76. details. 
  77. .PP
  78. If ispell is executed with the name `spell', it attempts to be compatible
  79. with the traditional spell program.  You can also get this behavior
  80. with the 
  81. .B \-u
  82. flag.  In this case, the list of files (or standard input) is checked,
  83. and an alphabetized list of misspellings is produced on the standard
  84. output.
  85. .SH FILES
  86. .PD 0
  87. .TP 40
  88. /usr/lib/ispell.dict
  89. System dictionary
  90. .TP 40
  91. $HOME/ispell.words
  92. Private dictionary
  93. .br
  94. .PD
  95. .SH SEE ALSO
  96. ispell.texinfo
  97. .SH AUTHOR
  98. Pace Willisson (pace@mit-vax pace@eddie.mit.edu)
  99.  
  100.